package Model;



/**
 * The test class Test.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class Test extends junit.framework.TestCase
{
	private CDSamling cDSamlin1;
	private CD cD1;
	private CD cD2;
	private Nummer nummer1;
	private Nummer nummer2;
	private Nummer nummer3;

    /**
     * Default constructor for test class Test
     */
    public Test()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    protected void setUp()
    {
		cDSamlin1 = CDSamling.getInstance();
		cD1 = new CD(1, "minCD 1");
		cD2 = new CD(2, "Min CD2");
		nummer1 = new Nummer("nr 1", 23);
		nummer2 = new Nummer("nr 2", 12);
		cD1.addNummer(nummer1);
		cD2.addNummer(nummer2);
		cDSamlin1.addCD(cD1);
		cDSamlin1.addCD(cD2);
		nummer3 = new Nummer("nr 5", 34);
		cD1.addNummer(nummer3);
		cDSamlin1.findAlleNumreStoerreEnd4();
	}

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    protected void tearDown()
    {
    }
}
